-- GENERATED SPELL FOR [Narg the Taskmaster] --


function spell0_79(pUnit, Event) --@Battle Shout,Self--
pUnit:FullCastSpellOnTarget(9128,pUnit)
pUnit:RegisterEvent('Sorts_79', 666, 1)
end

function Sorts_79(pUnit, Event)
local choix_sorts_79 = math.random(0, 0)
if choix_sorts_79 == 0 then
pUnit:RegisterEvent('spell0_79', 1, 1)
end
end

function mob79_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_79', math.random(1500, 3000), 1)
end

function mob79_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob79_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob79_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(79, 1, 'mob79_Action')
RegisterUnitEvent(79, 2, 'mob79_Leave')
RegisterUnitEvent(79, 3, 'mob79_Kill')
RegisterUnitEvent(79, 4, 'mob79_Die')
